#include "server/ServerSocket.h"
#include "util/Log.h"
#include "util/Configuration.h"

int main(int argc, char **argv) {
	Log::verbose_mode = true;

	Log::verbose("Initializing");

	Configuration config("server.cfg");
	if (!config.read_configuration())
		return 1;

	ServerSocket server;

	server.run();

	return 0;
}
